/*
 * Copyright (c) 2008-2021 浩瀚深度 All Rights Reserved.
 *
 * <p>FileName: SyslogMonitor.java</p>
 *
 * @author zz
 * @date 2024/3/11
 * @version 1.0
 * History:
 * v1.0.0 2024/3/11 Create
 */
package com.monitor.entity;

import lombok.Data;

/**
 * <p>Title: SyslogMonitor</p>
 * <p>Description: </p>
 *
 * @author zz
 */
@Data
public class SyslogMonitor {

    /**
     * syslog接收IP
     */
    private String syslogIp;
    /**
     * 模拟发送源IP
     */
    private String sourceIp;
    /**
     * syslog接收端口
     */
    private Integer syslogPort;
    /**
     * syslog消息体
     */
    private String content;


    /**
     * 告警生成消息体
     */
    private String alarmOn;
    /**
     * 告警消除消息体
     */
    private String alarmOff;
    /**
     * SyslogId
     */
    private Integer syslogId;

    //("Kuanguang: Intf 1/1 Temperature Threshold alarm, Op=16, ObjId=2/1, SysLogId=25, Type=1", "iso8859-1"));
    /**
     * 故障、告警、日志
     */
    private Integer type = 1;

    private Integer objId;

    /**
     * OP=16 故障发生
     * OP=17 故障消除
     */
    private Integer op;
}
